﻿using System;
using MongoDB.Bson.Serialization.Attributes;

namespace Stock.Model
{
    public class stock:BaseEntity
    {
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime date { get; set; }

        /// <summary>
        /// 最低价
        /// </summary>
        /// <value>The low.</value>
        public double low { get; set; }

        /// <summary>
        /// 最高价
        /// </summary>
        /// <value>The high.</value>
        public double high { get; set; }

        /// <summary>
        /// 开盘价
        /// </summary>
        /// <value>The begin.</value>
        public double begin { get; set; }

        /// <summary>
        /// 收盘价
        /// </summary>
        /// <value>The end.</value>
        public double end { get; set; }

        /// <summary>
        /// 标记
        /// </summary>
        /// <value>The tag.</value>
        public int tag { get; set; }

        public stock()
        {
        }
    }
}
